<%--
  Created by IntelliJ IDEA.
  User: Wxin
  Date: 20/4/11
  Time: 16:07
  To change this template use File | Settings | File Templates.
--%>
<%--<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh-CN">
<head>
    <title>Title</title>
</head>
<body>
    <h3>入门程序</h3>
    <%-- 绝对路径(需要虚拟目录) --%>
    <a href="${pageContext.request.contextPath}/user/hello">入门程序</a>
    <%-- 相对路径 ./可以省略(不需要虚拟目录) --%>
    <a href="user/hello">入门程序</a>

    <hr/>

    <a href="${pageContext.request.contextPath}/user/testRequestMapping?username=heihei">RequestMapping注解</a>

    <h3>${pageContext.request.contextPath}</h3>

</body>
</html>
